package com.core.model.enumType;

/**
 * Created with IntelliJ IDEA.
 * User: lxf
 * Date: 2018/1/8
 * Time: 16:58
 * To change this template use Editor | File and Code Templates.
 */
public enum ApiResponseStatusCode {

    SUCCESS("200", "SUCCESS-1"),
    FAIL("500", "FAIL-2"),
    NO_RECORD("404", "NORECORD-3"),
    MSG_TIP("1001", "TIPS-4"),
    TOKEN_ERROR("403", "TOKEN ERROR-5");

    private String code;
    private String msg;

    ApiResponseStatusCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
